<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.Map" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>餐厅管理系统登录解密</title>
  <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

  <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  <!-- 引入 layui.css -->
  <link href="//unpkg.com/layui@2.9.10/dist/css/layui.css" rel="stylesheet">
  <!-- 引入 layui.js -->
  <script src="//unpkg.com/layui@2.9.10/dist/layui.js"></script>

</head>
<body >
<div class="container">
  <div class="row clearfix">

    <div class="col-md-12 column">
      <h1><label>点餐管理网站</label></h1>
    </div>
    <div class="col-md-12 column">
      <form class="layui-form" role="form" method="post" action="<c:url value="/LoginServlet"/>">
        <div class="demo-login-container">
          <div class="layui-form-item">
            <div class="layui-input-wrap">
              <div class="layui-input-prefix">
                <i class="layui-icon layui-icon-username"></i>
              </div>
              <input type="text" name="user" value=""  placeholder="用户名" lay-reqtext="请填写用户名" autocomplete="off" class="layui-input" lay-affix="clear">
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-input-wrap">
              <div class="layui-input-prefix">
                <i class="layui-icon layui-icon-password"></i>
              </div>
              <input type="password" name="pwd" value=""  placeholder="密   码" lay-reqtext="请填写密码" autocomplete="off" class="layui-input" lay-affix="eye">
            </div>
          </div>
          <div class="layui-form-item">
          </div>
          <div class="layui-form-item">
            <button class="layui-btn layui-btn-fluid" type="submit">登录</button>
          </div>
          <a href="${pageContext.request.contextPath}/Register.jsp">注册帐号</a>
        </div>
        <label>${sta}</label>
        <%request.getSession().removeAttribute("sta");%>
      </form>
    </div>
  </div>
</div>

</body>
</html>


